﻿
//
//  Copyright (c) 2011 Extreme: Paweł Huryn (lead), Jakub Domański
//
using System;

namespace Extreme.SPFramework.DependencyInjection
{
    /// <summary>
    /// Indicates that assembly contains dependency service implementations
    /// </summary>
    [AttributeUsage(AttributeTargets.Assembly)]
    public class ServiceContainer : Attribute
    {
        /// <summary>
        /// Framework version
        /// </summary>
        public decimal FrameworkVersion { get; private set; }

        /// <summary>
        /// Creates new instance
        /// </summary>
        public ServiceContainer()
        {
            FrameworkVersion = ServiceProvider.FrameworkVersion;
        }
    }
}
